package com.zhijian.medical.entity.po;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 医疗设备
 *
 * @author Auto Generator
 * @date 2022-01-01 15:37:21
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Api(tags = "医疗设备")
public class MedicalDevice {
    /**
     * id
     */
    @ApiModelProperty(value = "id", hidden = true)
    private Long id;

    /**
     * 设备ID
     */
    @ApiModelProperty("设备ID")
    @NotBlank(message = "设备名称不能为空")
    private String deviceId;

    /**
     * 设备名称
     */
    @ApiModelProperty("设备名称")
    private String deviceName;

    /**
     * 设备类型
     */
    @ApiModelProperty("设备类型")
    private String deviceType;

    /**
     * 位置
     */
    @ApiModelProperty("位置")
    private String location;

    /**
     * 网关ID
     */
    @ApiModelProperty("网关ID")
    private String gatewayId;

    /**
     * 状态
     */
    @ApiModelProperty("状态")
    private int status;

    /**
     * 位置ID
     */
    @ApiModelProperty("位置ID")
    private Long locationId;


    /**
     * create_time
     */
    @ApiModelProperty(value = "create_time", hidden = true)
    private Date createTime;

    /**
     * update_time
     */
    @ApiModelProperty(value = "update_time", hidden = true)
    private Date updateTime;
}